Skip to content

chore: update keywords#12757

Merged
kgryte merged 1 commit into
developfrom
philipp/review-ndarray-nans-like
Jun 17, 2026
Merged

chore: update keywords#12757
kgryte merged 1 commit into
developfrom
philipp/review-ndarray-nans-like

Conversation

@Planeshifter

Copy link
Copy Markdown
Member

Resolves stdlib-js/todo#2771.

Description

What is the purpose of this pull request?

This pull request:

  • replaces the incorrect numpy.empty_like keyword in package.json with numpy.full_like. The numpy.empty_like keyword is a copy-paste leftover from @stdlib/ndarray/empty-like (which creates uninitialized arrays); the correct NumPy analogue for a NaN-filled *-like creator is numpy.full_like (cf. siblings: zeros-likenumpy.zeros_like, ones-likenumpy.ones_like, empty-likenumpy.empty_like)

Related Issues

Does this pull request have any related issues?

No.

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

This PR was authored by Claude Code as part of a multi-agent review of the package. All findings were independently verified against the package source and sibling packages, and the package test suite passes.


@stdlib-js/reviewers

---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
  - task: lint_filenames
    status: passed
  - task: lint_editorconfig
    status: passed
  - task: lint_markdown_pkg_readmes
    status: na
  - task: lint_markdown_docs
    status: na
  - task: lint_markdown
    status: na
  - task: lint_package_json
    status: passed
  - task: lint_repl_help
    status: na
  - task: lint_javascript_src
    status: na
  - task: lint_javascript_cli
    status: na
  - task: lint_javascript_examples
    status: na
  - task: lint_javascript_tests
    status: na
  - task: lint_javascript_benchmarks
    status: na
  - task: lint_python
    status: na
  - task: lint_r
    status: na
  - task: lint_c_src
    status: na
  - task: lint_c_examples
    status: na
  - task: lint_c_benchmarks
    status: na
  - task: lint_c_tests_fixtures
    status: na
  - task: lint_shell
    status: na
  - task: lint_typescript_declarations
    status: passed
  - task: lint_typescript_tests
    status: na
  - task: lint_license_headers
    status: passed
---
@stdlib-bot

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
ndarray/nans-like $\\color{red}225/227$
$\\color{green}+99.12\\%$
$\\color{red}38/39$
$\\color{green}+97.44\\%$
$\\color{green}1/1$
$\\color{green}+100.00\\%$
$\\color{red}225/227$
$\\color{green}+99.12\\%$

The above coverage report was generated for the changes in this PR.

@kgryte kgryte marked this pull request as ready for review June 17, 2026 01:01
@kgryte kgryte requested a review from a team June 17, 2026 01:01
@kgryte kgryte changed the title chore: update keywords in ndarray/nans-like chore: update keywords Jun 17, 2026
@kgryte kgryte merged commit c698eb1 into develop Jun 17, 2026
18 checks passed
@kgryte kgryte deleted the philipp/review-ndarray-nans-like branch June 17, 2026 01:02
@stdlib-bot stdlib-bot added Needs Review A pull request which needs code review. and removed Needs Review A pull request which needs code review. labels Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants